#ifndef __WAKEUP_PORTING_H__
#define __WAKEUP_PORTING_H__

#ifdef _WIN32
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#else
#include "oal.h"
#include "sys_inc.h"
#include "sltk_math.h"
#endif

#ifdef _WIN32
#define WAKEUP_EXP exp
#define WAKEUP_ABS abs
#define MALLOC malloc
#define FREE free
#else
#define MALLOC OAL_malloc
#define FREE OAL_free
#define WAKEUP_EXP sltk_exp
#define WAKEUP_ABS SLTK_ABS_S32

extern int sprintf(
        char*       const _Buffer,
        char const* const _Format,
        ...);

#endif

#endif

